<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: URI Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structURI.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structURI-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">URI Struct Reference<div class="ingroups"><a class="el" href="group__util.html">Utilities Library (jetson-utils)</a> &raquo; <a class="el" href="group__video.html">Video Streaming</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Resource <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> of a video device, IP stream, or file/directory.  
 <a href="structURI.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="URI_8h_source.html">URI.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afe5b04255d71cadd7d40cadda71913ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#afe5b04255d71cadd7d40cadda71913ae">URI</a> ()</td></tr>
<tr class="memdesc:afe5b04255d71cadd7d40cadda71913ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#afe5b04255d71cadd7d40cadda71913ae">More...</a><br /></td></tr>
<tr class="separator:afe5b04255d71cadd7d40cadda71913ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43668adf597739b1a8551f3bff5d2181"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a43668adf597739b1a8551f3bff5d2181">URI</a> (const char *uri)</td></tr>
<tr class="memdesc:a43668adf597739b1a8551f3bff5d2181"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> from the given resource string.  <a href="#a43668adf597739b1a8551f3bff5d2181">More...</a><br /></td></tr>
<tr class="separator:a43668adf597739b1a8551f3bff5d2181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5496b028bbea5c418d8c230ec8b02cd5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a5496b028bbea5c418d8c230ec8b02cd5">Parse</a> (const char *uri)</td></tr>
<tr class="memdesc:a5496b028bbea5c418d8c230ec8b02cd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse the <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> from the given resource string.  <a href="#a5496b028bbea5c418d8c230ec8b02cd5">More...</a><br /></td></tr>
<tr class="separator:a5496b028bbea5c418d8c230ec8b02cd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29ef525ac8e157cdd752f7d700020e59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a29ef525ac8e157cdd752f7d700020e59">Print</a> (const char *prefix=&quot;&quot;) const</td></tr>
<tr class="memdesc:a29ef525ac8e157cdd752f7d700020e59"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classLog.html" title="Message logging with a variable level of output and destinations. ">Log</a> the <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a>, with an optional prefix label.  <a href="#a29ef525ac8e157cdd752f7d700020e59">More...</a><br /></td></tr>
<tr class="separator:a29ef525ac8e157cdd752f7d700020e59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5197ff15893b45c6f4007ed9568bdead"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a5197ff15893b45c6f4007ed9568bdead">c_str</a> () const</td></tr>
<tr class="memdesc:a5197ff15893b45c6f4007ed9568bdead"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cast to C-style string (<code>const char*</code>)  <a href="#a5197ff15893b45c6f4007ed9568bdead">More...</a><br /></td></tr>
<tr class="separator:a5197ff15893b45c6f4007ed9568bdead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0476d982fe38ab906c705664f0a4693"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#af0476d982fe38ab906c705664f0a4693">operator const char *</a> () const</td></tr>
<tr class="memdesc:af0476d982fe38ab906c705664f0a4693"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cast to C-style string (<code>const char*</code>)  <a href="#af0476d982fe38ab906c705664f0a4693">More...</a><br /></td></tr>
<tr class="separator:af0476d982fe38ab906c705664f0a4693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbfa6cce0495163de35033b291d19b71"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#acbfa6cce0495163de35033b291d19b71">operator std::string</a> () const</td></tr>
<tr class="memdesc:acbfa6cce0495163de35033b291d19b71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cast to <code>std::string</code>  <a href="#acbfa6cce0495163de35033b291d19b71">More...</a><br /></td></tr>
<tr class="separator:acbfa6cce0495163de35033b291d19b71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfdb65695d30cb734ce341b769f5f8f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#adfdb65695d30cb734ce341b769f5f8f8">operator=</a> (const char *uri)</td></tr>
<tr class="memdesc:adfdb65695d30cb734ce341b769f5f8f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator (parse <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> string)  <a href="#adfdb65695d30cb734ce341b769f5f8f8">More...</a><br /></td></tr>
<tr class="separator:adfdb65695d30cb734ce341b769f5f8f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7120096cec4c394bcf696644d4e26baf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a7120096cec4c394bcf696644d4e26baf">operator=</a> (const std::string &amp;uri)</td></tr>
<tr class="memdesc:a7120096cec4c394bcf696644d4e26baf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator (parse <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> string)  <a href="#a7120096cec4c394bcf696644d4e26baf">More...</a><br /></td></tr>
<tr class="separator:a7120096cec4c394bcf696644d4e26baf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6ddfb39ef99352b24fef204ecb39404f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a6ddfb39ef99352b24fef204ecb39404f">string</a></td></tr>
<tr class="memdesc:a6ddfb39ef99352b24fef204ecb39404f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Full resource <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> (what was originally parsed)  <a href="#a6ddfb39ef99352b24fef204ecb39404f">More...</a><br /></td></tr>
<tr class="separator:a6ddfb39ef99352b24fef204ecb39404f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25a7a89511d3018d8b855ae9402e6848"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a25a7a89511d3018d8b855ae9402e6848">protocol</a></td></tr>
<tr class="memdesc:a25a7a89511d3018d8b855ae9402e6848"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protocol string (e.g.  <a href="#a25a7a89511d3018d8b855ae9402e6848">More...</a><br /></td></tr>
<tr class="separator:a25a7a89511d3018d8b855ae9402e6848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837154f4e2c1090b948edc788d1c1e38"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a837154f4e2c1090b948edc788d1c1e38">location</a></td></tr>
<tr class="memdesc:a837154f4e2c1090b948edc788d1c1e38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Path, IP address, or device name.  <a href="#a837154f4e2c1090b948edc788d1c1e38">More...</a><br /></td></tr>
<tr class="separator:a837154f4e2c1090b948edc788d1c1e38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14d479b9d6e6879e39987e941f7094fd"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a14d479b9d6e6879e39987e941f7094fd">extension</a></td></tr>
<tr class="memdesc:a14d479b9d6e6879e39987e941f7094fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">File extension (for files only, otherwise empty)  <a href="#a14d479b9d6e6879e39987e941f7094fd">More...</a><br /></td></tr>
<tr class="separator:a14d479b9d6e6879e39987e941f7094fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3985536269f5f01ed04128c015a794f2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structURI.html#a3985536269f5f01ed04128c015a794f2">port</a></td></tr>
<tr class="memdesc:a3985536269f5f01ed04128c015a794f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP port, camera port, ect.  <a href="#a3985536269f5f01ed04128c015a794f2">More...</a><br /></td></tr>
<tr class="separator:a3985536269f5f01ed04128c015a794f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Resource <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> of a video device, IP stream, or file/directory. </p>
<p>The <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> object is used by <a class="el" href="classvideoSource.html" title="The videoSource API is for capturing frames from video input devices such as MIPI CSI cameras...">videoSource</a>, <a class="el" href="classvideoOutput.html" title="The videoOutput API is for rendering and transmitting frames to video input devices such as display w...">videoOutput</a>, and <a class="el" href="structvideoOptions.html" title="The videoOptions struct contains common settings that are used to configure and query videoSource and...">videoOptions</a> to identify which resource is being streamed. It will parse a string into protocol, path, and port/extension components.</p>
<p><a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> protocols for <a class="el" href="classvideoSource.html" title="The videoSource API is for capturing frames from video input devices such as MIPI CSI cameras...">videoSource</a> input streams include MIPI CSI cameras (<code>csi://</code>), V4L2 cameras (<code>v4l2://</code>), RTP/RTSP networking streams (<code>rtp://</code> and <code>rtsp://</code>), and disk-based videos/images/directories (<code><a href="file://">file://</a></code>) </p><pre class="fragment">-  `csi://0` for MIPI CSI cameras, where `0` can be replaced with the camera port.
   It is also assumed that if a number with no protocol is specified (e.g. `"0"`),
   this means to use the MIPI CSI camera of that number (`"0"` -&gt; `csi://0`)

- `v4l2:///dev/video0` for V4L2 cameras, where `/dev/video0` can be replaced with
   a different video device (e.g. `v4l2:///dev/video1` for V4L2 video device `1`).
   If no protocol is specified but the string begins with `/dev/video`, then it is
   assumed that the protocol is V4L2 (`/dev/video0` -&gt; `v4l2:///dev/video0`)

- `rtp://@:1234` to recieve an RTP network stream, where `1234` is the port and `@` is shorthand
   for localhost.  `@` can also be substituted for the IP address of a multicast group.
   Note that it is important to manually specify the codec and width/height when using RTP,
   as these values cannot be discovered from the RTP stream itself and need to be provided.
   @see videoOptions for more info about `--input-codec`, `--input-width`, and `--input-height`.

- `rtsp://username:password@&lt;remote-host&gt;:1234` to subscribe to an RTSP network stream, where
   `&lt;remote-host&gt;` should be substituted for the remote host's IP address or hostname, and 
   `1234` is the port.  For example, `rtsp://192.168.1.2:5000`.  The `username` and `password` 
   are optional, and are only used for RTSP streams that require authentication.

- `file:///home/user/my_video.mp4` for disk-based videos, images, and directories of images.
   You can leave off the `file://` protocol identifier and it will be deduced from the path.
   It can be a relative or absolute path.  If a directory is specified that contains images,
   those images will be loaded in sequence (sorted alphanumerically).  The path can also
   contain wildcard characters, for example `"images/*.jpg"` - however when using wildcards
   from the command line, enclose the string in quotes otherwise the OS will pre-expand them.
   Supported video formats for loading include MKV, MP4, AVI, and FLV. Supported codecs for 
   decoding include H.264, H.265, VP8, VP9, MPEG-2, MPEG-4, and MJPEG. Supported image formats
   for loading include JPG, PNG, TGA, BMP, GIF, PSD, HDR, PIC, and PNM (PPM/PGM binary).
</pre><p><a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> protocols for <a class="el" href="classvideoOutput.html" title="The videoOutput API is for rendering and transmitting frames to video input devices such as display w...">videoOutput</a> streams include rendering to displays (<code>display://</code>), broadcasting RTP streams to a remote host (<code>rtp://</code>), and saving videos/images/directories to disk (<code><a href="file://">file://</a></code>) </p><pre class="fragment">- `display://0` for rendering to display using OpenGL, where `0` corresponds to the display number.
   By default, an OpenGL window will be created, unless the `--headless` command line option is used.

- `rtp://&lt;remote-host&gt;:1234` to broadcast a compressed RTP stream to a remote host, where you should
   substitute `&lt;remote-host&gt;` with the remote host's IP address or hostname, and `1234` is the port.

- `file:///home/user/my_video.mp4` for saving videos, images, and directories of images to disk.
   You can leave off the `file://` protocol identifier and it will be deduced from the path.
   It can be a relative or absolute path.  You can output a sequence of images using a path of
   the form `my_dir/image_%i.jpg` (where `%i` can include printf-style modifiers like `%03i`).  
   The `%i` will be replaced with the image number in the sequence.  If just a directory is
   specified, then by default it will create a sequence of the form `%i.jpg` in that directory.
   Supported video formats for saving include MKV, MP4, AVI, and FLV. Supported codecs for 
   encoding include H.264, H.265, VP8, VP9, and MJPEG. Supported image formats for saving 
   include JPG, PNG, TGA, and BMP.
</pre><p>The <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> strings used should take one of the above forms for input/output streams to be parsed correctly. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afe5b04255d71cadd7d40cadda71913ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe5b04255d71cadd7d40cadda71913ae">&#9670;&nbsp;</a></span>URI() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">URI::URI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a id="a43668adf597739b1a8551f3bff5d2181"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43668adf597739b1a8551f3bff5d2181">&#9670;&nbsp;</a></span>URI() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">URI::URI </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a new <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> from the given resource string. </p>
<dl class="section see"><dt>See also</dt><dd>the documentation above for valid <a class="el" href="structURI.html#a6ddfb39ef99352b24fef204ecb39404f" title="Full resource URI (what was originally parsed) ">string</a> formats. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5197ff15893b45c6f4007ed9568bdead"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5197ff15893b45c6f4007ed9568bdead">&#9670;&nbsp;</a></span>c_str()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* URI::c_str </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cast to C-style string (<code>const char*</code>) </p>

</div>
</div>
<a id="af0476d982fe38ab906c705664f0a4693"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0476d982fe38ab906c705664f0a4693">&#9670;&nbsp;</a></span>operator const char *()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">URI::operator const char * </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cast to C-style string (<code>const char*</code>) </p>

</div>
</div>
<a id="acbfa6cce0495163de35033b291d19b71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbfa6cce0495163de35033b291d19b71">&#9670;&nbsp;</a></span>operator std::string()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">URI::operator std::string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cast to <code>std::string</code> </p>

</div>
</div>
<a id="adfdb65695d30cb734ce341b769f5f8f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfdb65695d30cb734ce341b769f5f8f8">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void URI::operator= </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assignment operator (parse <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> string) </p>

</div>
</div>
<a id="a7120096cec4c394bcf696644d4e26baf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7120096cec4c394bcf696644d4e26baf">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void URI::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assignment operator (parse <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> string) </p>

</div>
</div>
<a id="a5496b028bbea5c418d8c230ec8b02cd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5496b028bbea5c418d8c230ec8b02cd5">&#9670;&nbsp;</a></span>Parse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool URI::Parse </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parse the <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> from the given resource string. </p>
<dl class="section see"><dt>See also</dt><dd>the documentation above for valid <a class="el" href="structURI.html#a6ddfb39ef99352b24fef204ecb39404f" title="Full resource URI (what was originally parsed) ">string</a> formats. </dd></dl>

</div>
</div>
<a id="a29ef525ac8e157cdd752f7d700020e59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29ef525ac8e157cdd752f7d700020e59">&#9670;&nbsp;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void URI::Print </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>prefix</em> = <code>&quot;&quot;</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classLog.html" title="Message logging with a variable level of output and destinations. ">Log</a> the <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a>, with an optional prefix label. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a14d479b9d6e6879e39987e941f7094fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14d479b9d6e6879e39987e941f7094fd">&#9670;&nbsp;</a></span>extension</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string URI::extension</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>File extension (for files only, otherwise empty) </p>

</div>
</div>
<a id="a837154f4e2c1090b948edc788d1c1e38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a837154f4e2c1090b948edc788d1c1e38">&#9670;&nbsp;</a></span>location</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string URI::location</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Path, IP address, or device name. </p>

</div>
</div>
<a id="a3985536269f5f01ed04128c015a794f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3985536269f5f01ed04128c015a794f2">&#9670;&nbsp;</a></span>port</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int URI::port</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>IP port, camera port, ect. </p>

</div>
</div>
<a id="a25a7a89511d3018d8b855ae9402e6848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25a7a89511d3018d8b855ae9402e6848">&#9670;&nbsp;</a></span>protocol</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string URI::protocol</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Protocol string (e.g. </p>
<p><code>file</code>, <code>csi</code>, <code>v4l2</code>, <code>rtp</code>, ect) </p>

</div>
</div>
<a id="a6ddfb39ef99352b24fef204ecb39404f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ddfb39ef99352b24fef204ecb39404f">&#9670;&nbsp;</a></span>string</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string URI::string</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Full resource <a class="el" href="structURI.html" title="Resource URI of a video device, IP stream, or file/directory. ">URI</a> (what was originally parsed) </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>jetson-utils/<a class="el" href="URI_8h_source.html">URI.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structURI.html">URI</a></li>
    <li class="footer">Generated on Tue Jul 14 2020 21:59:35 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
